var constants = angular.module('ng-constants', []);
constants.constant('HOST', {
    // REQUEST_URL: 'http://localhost:8080/',

    LINE_ALL:'DemoInfoController/getAllLine',
    SAVE_VERSION:'DemoInfoController/saveVersion',
    GET_VERSION:'DemoInfoController/getVersion',
    GET_DEVICES:'DemoInfoController/getDevices',
    SAVE_SETTINGS:'DemoInfoController/saveSettings'

    // LINE_ALL:'Save_GetLine.aspx',
    // SAVE_VERSION:'Save_SaveLine.aspx',
    // GET_VERSION:'Select_GetVersion.aspx',
    // GET_DEVICES:'Select_GetEquipment.aspx',
    // SAVE_SETTINGS:'Select_SaveParameter.aspx'





});

constants.constant('COOKIE_STORE_KEYS', {
    USER_ID: 'cTaiId',
    USER_NAME: 'userName',
    ROLE: 'role',
    PERMISSIONS: 'permissions',
    ACCESS_TOKEN: 'accessToken',
    TOKEN_TYPE: 'tokenType'
});
constants.constant('ROLES', {
    ADMIN: 'admin',
    AGENT: 'agent'
});